
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
troika-3d-text
Advanced tools
troika-3d-text
PLEASE NOTE: The standalone
TextMesh
for Three.js, which used to be accessible from this package in a customdist/textmesh-standalone.umd.js
file, has been promoted to its own package, troika-three-text. You can now just importText
from that package directly:
import { Text } from 'troika-three-text' let myText = new Text()
This package provides high quality text rendering in the Troika scene management framework, using signed distance fields (SDF) and antialiasing using standard derivatives. It is based on troika-three-text.
Here's an online demo.
Get it from NPM:
npm install troika-3d-text
You will also need to install a compatible version of Three.js; see the notes in the Troika 3D Readme for details.
Import the Text3DFacade
class:
import { Text3DFacade } from 'troika-3d-text'
...then use it within your scene descriptor to configure it:
{
key: 'my-text',
facade: Text3DFacade,
text: 'Hello world!',
fontSize: 0.2,
color: 0x9966FF,
z: -2
// ...etc.
}
Text3DFacade
supports all properties supported by the Text
mesh from troika-three-text; see the documentation there for details.
FAQs
SDF text for the Troika 3D scene management framework
The npm package troika-3d-text receives a total of 511 weekly downloads. As such, troika-3d-text popularity was classified as not popular.
We found that troika-3d-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.